auto merge of #1085 : geomaster/cargo/master, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 25 Dec 2014 00:13:40 +0000 (00:13 +0000)
committerbors <bors@rust-lang.org>
Thu, 25 Dec 2014 00:13:40 +0000 (00:13 +0000)
commit764644a28f484d36d64b3a0da5f0f5429564fc02
tree9d92550b700bcd46a8c151cd4e6d4a2ae835eafa
parent1f57f150b22c850aa8960398631d2f4bde762a19
parentc55a992cb4537900f0b345f41461b78731417dce
auto merge of #1085 : geomaster/cargo/master, r=alexcrichton

rust-lang/rust#19253 and rust-lang/rust@25f8051 have introduced changes
to the namespacing within the std::collections::hash_map, breaking some
of Cargo code which imported these.

rust-lang/rust@cf350ea, implementing changes proposed by RFC #344, have
also broken some code which relies on hash_set::SetItems (now renamed to
hash_set::Iter).

This PR fixes the incompatibilities: imports of
std::collections::hash_map::{Occupied, Vacant} have been replaced by
imports of std::collections::hash_map::Entry::{Occupied, Vacant} and one
instance where the SetItems has been used was replaced by the proper
usage of Iter.
src/cargo/util/config.rs